<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/6/14
 * Time: 10:52
 */

namespace app\admin\controller;

use app\admin\model\UserCharge as UserChargeModel;
class UserChargeController extends BaseController
{
    public function index()
    {
        $this->assign([
            'data' => UserChargeModel::order(['id'=>'asc'])->paginate(15,false,['type'=>'page\Page']),
        ]);
        return $this->fetch();
    }
}